@import "./_reset";

#shelter {
    width: 100%;
    height: 100%;
    background-color: white;
    position: fixed;
    opacity: 0.7;
    z-index: 10000;
    display: none;
}

//侧边栏样式
#aside {
    position: fixed;
    right: 20px;
    top: 300px;
    width: 40px;
    height: fit-content;
    background-color: white;
    z-index: 99;
    border: 1px solid rgb(151, 151, 151);

    .cart:hover {
        background-color: red;
    }

    .mask {
        position: absolute;
        width: 40px;
        height: 40px;
        background-color: red;
        z-index: 99;
        left: 0;
        top: 0;
        display: none;
        font-size: 12px;
        color: white;
        text-align: center;
        line-height: 18px;
    }

    div:nth-child(1) {
        position: relative;
        height: 40px;
        background-color: rgb(233, 233, 233);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: rgb(134, 134, 134);
        border-bottom: 1px solid white;
    }

    div:nth-child(2) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: aliceblue;
    }

    div:nth-child(4) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 20px;
        text-align: center;
        line-height: 40px;
        color: aliceblue;
        border-bottom: 1px solid white;
    }

    div:nth-child(5) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: rgb(134, 134, 134);
    }

    div:nth-child(3) {
        height: fit-content;
        background-color: rgb(255, 255, 255);
        width: 100%;
        font-size: 20px;
        display: flex;
        align-items: center;
        flex-direction: column;

        p {
            width: 10px;
            font-size: 16px;
            text-align: center;
            color: #333333;
            position: relative;
            left: -3px;

            span {
                display: block;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background-color: rgb(209, 41, 41);
                text-align: center;
                line-height: 20px;
                color: white;
            }
        }

        color: aliceblue;
    }
}

body {
    background: rgb(245, 245, 245);
}

//头部
#top {
    width: 100%;
    height: 186px;
    background: #000000;

    .ad {
        height: 30px;
        width: 100%;
        border: 1px solid red;
    }
}

.top-wrap {
    width: 100%;
    background-color: rgb(20, 20, 20);
}

.ad {
    width: 450px;
    height: 100%;
    position: relative;

    i {
        position: absolute;
        font-size: 16px;
        line-height: 32px;
    }

    ul {
        width: 400px;
        overflow: hidden;

        li {
            height: 100%;
            color: #a6a6a6;
            line-height: 32px;
            margin-left: 50px;
        }
    }
}

//<!-- 标题头部 -->
#Ad {
    // border: 1px solid red;
    position: absolute;
    top: 0;
    left: 30px;

    li {
        text-align: center;
        // border: 1px solid salmon;
    }
}

//<!-- 头部中 -->
#top>section {
    height: 99px;
    width: 100%;
}

.cf {
    width: 1284px;
    height: 90px;
    margin: 0 auto;
    position: relative;

    img {
        height: 90px;
        float: left;
        position: relative;
    }

    .right {
        color: #faf8f8;
        float: right;
        width: 410px;
        height: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;

        div {
            position: relative;
        }

        input {
            width: 180px;
            border-radius: 15px;
            height: 30px;
            background-color: rgb(36, 36, 36);
            border: none;
            padding-left: 35px;
            color: rgb(255, 255, 255);
        }

        button {
            position: absolute;
            height: 30px;
            background-color: rgb(36, 36, 36);
            border: none;
            border-radius: 15px 0 0 15px;
            line-height: 30px;
            text-align: center;
        }
    }
}

//导航
.nav {
    width: 1200px;
    margin: 0 auto;
    height: 60px;
    position: relative;

    a li {
        float: left;
        color: rgb(253, 252, 228);
        width: 120px;
        height: 58px;
        line-height: 60px;
        text-align: center;
    }

    .div {
        float: right;
        color: white;
        width: 120px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        position: relative;
        top: 10px;

        .span {
            float: right;
        }
    }
}

.nav-wrap {
    border-top: 0.5px solid #a6a6a6;
}

//弹出框
#Ying {
    display: none;
}

.slide_down {
    width: 1300%;
    position: absolute;
    right: 0;
    top: 52px;
    height: 600px;
    top: 50px;
    right: -160px;
    background: rgb(255, 252, 252);
    justify-content: center;
    display: flex;
    z-index: 10;
}

.slide_down>div>div {
    width: 80px;
    height: 75px;
    color: hsl(0, 0%, 0%);

    border-bottom: 2px solid rgb(196, 28, 28);

    margin-left: 20px;
    margin-bottom: 10px;
    margin-right: 20px;

    img {
        height: 30px;
        padding-left: 25px;
    }

    p {
        top: 10px;
        font-weight: 700;
    }
}

.slide_down>div {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
}

.slide_down ul li {
    color: #000000 !important;
    height: 32px;
    margin-left: -20px;
    margin-top: 3px;
}


//main
#main {
    width: 1280px;
    padding: 40px;

    position: relative;
    z-index: 12;
    top: -30px;
    background: white;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid saddlebrown;

    .title {
        height: 50px;
        color: black;
        display: flex;
        justify-content: space-between;
        align-items: center;

        span {
            color: rgb(82, 82, 82);
            font-size: 16px;
            padding-left: 20px;
            font-weight: 100;
        }

        h2 {
            width: 500px;
            height: 50px;
            line-height: 50px;
            font-weight: 800;
        }

        #more {
            display: block;
            display: flex;
            justify-content: space-between;
            width: 80px;

            i {
                font-style: normal;
                display: block;
                width: 20px;
                height: 20px;
                background-color: yellow;
                border-radius: 50%;
                font-size: 10px;
                text-align: center;
                line-height: 20px;
            }
        }
    }

    .ban_2 {
        margin: 20px 0;
    }

    .ban_list {
        .shadow {
            position: relative;
            height: 383px;
        }

        display: flex;
        justify-content: space-between;

        img {
            width: 305px;
        }

        dl {
            width: 305px;
            border: 1px solid rgb(214, 214, 214);
        }

        dt {
            width: 260px;
        }

        dd {
            span {
                display: block;
                color: red;
                font-size: 18px;
                text-align: center;
            }

            p {
                padding-top: 20px;
                text-align: center;
            }
        }
    }
}

//底部

.footer {
    width: 100%;
    background-color: black;
    height: 450px;
    margin-top: 20px;

    .dir {

        width: 1200px;
        height: 200px;
        display: flex;
        align-items: center;
        margin: 0 auto 30px;
        justify-content: space-between;
        border-bottom: 1px solid white;

        .a1 {
            position: relative;
            width: 300px;
            display: flex;
            height: 150px;

            img:first-child {
                width: 200px;
                align-self: flex-start;
            }

            img:last-child {
                position: absolute;
                right: 5px;
                bottom: 10px;
            }


        }

        .a2 {
            border-right: 1px solid rgb(153, 153, 153);
            width: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-left: 1px solid rgb(153, 153, 153);

            ul {

                li {
                    float: left;
                    width: 240px;
                    font-size: 20px;
                    text-align: center;
                    color: #A6A6A6;
                    height: 40px;
                    line-height: 40px;
                }
            }
        }

        .a3 {
            width: 300px;

            height: 150px;
            display: flex;
            justify-content: space-around;
            align-items: center;

            img {
                width: 100px;
            }

            dd {
                padding-top: 5px;
                padding-left: 5px;
                color: #A6A6A6;
            }
        }

    }

    .bottom {
        color: #A6A6A6;

        a {
            color: #A6A6A6;

            &:hover {
                color: white;
            }
        }

        p {
            text-align: center;
        }

        div {
            display: flex;
            width: fit-content;
            margin: 40px auto;

            img {
                margin-right: 10px;
            }
        }
    }

}

//弹出层样式
#login>.kuang {
    width: 624px;
    height: 450px;
    color: #000000;
    border: 1px solid skyblue;
    position: fixed;
    right: 410px;
    top: 150px;
    background: #faf8f8;
    display: none;
    z-index: 1000;

    .ca {
        position: absolute;
        z-index: 999;
        right: 0;
        top: -16px;
        font-size: 40px;
    }

    .to {
        display: flex;

        .qq {
            width: 50%;
            height: 50px;
            background: rgb(241, 241, 241);
            text-align: center;
            line-height: 50px;
            position: relative;
        }

        .weixin {
            width: 50%;
            height: 50px;
            background: salmon;
            text-align: center;
            line-height: 50px;
        }
    }

    p {
        padding-top: 10px;
        text-align: center;
        color: rgb(209, 209, 209);
    }

    .login-titel h3 {
        font-weight: 500;
        text-align: center;
        margin-top: 50px;
    }

    .reg-titel h3 {
        font-weight: 500;
        text-align: center;
        margin-top: 50px;
    }

    .us {
        display: block;
        margin-left: 200px;
        margin-top: 30px;
        margin-bottom: 20px;
        background: #faf8f8;
        color: #000000;
        border: 1px solid;
    }

    .pd {
        margin-left: 200px;
        background: #faf8f8;
        color: #000000;
        border: 1px solid;
        display: block;
        margin-bottom: 10px;
    }

    .span1 {
        position: absolute;
        top: 60px;
        left: 430px;
    }

    .span2 {
        position: absolute;
        top: 110px;
        left: 430px;
    }


    .btn {
        margin-left: 200px;
        width: 216px;
        background: rgb(134, 206, 47);
        color: #000000;
        text-align: center;
        margin-top: 10px;
        padding: 0;
    }

}